package com.invest.tool.server.bean.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class CompareBeanRequest {

    /**
     * eg: 2001-08-18T00:45:08.616
     */
    private String startDate;

    private String endDate;

    private List<StockCompare> stockCompareList;

    private List<FundCompare> fundCompareList;

    private List<MacroCompare> macroCompareList;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class StockCompare {

        /**
         * false true
         */
        private String hide;

        /**
         * 1000001000002.pm.pe_ttm.median
         */
        private String id;
    }

    @Data
    public static class FundCompare {
    }

    public static class MacroCompare {

        private String hide;

        /**
         * macro.cn.nd.mir_y10
         */
        private String id;
    }
}


